# Generated by Django 4.0.4 on 2022-04-13 21:28

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('content', '0002_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Translation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content_translation', models.CharField(max_length=250, unique=True, verbose_name='Перевод')),
                ('note', models.TextField(verbose_name='Заметка')),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('updated', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Перевод',
                'verbose_name_plural': 'Переводы',
                'ordering': ['-updated', '-created'],
            },
        ),
        migrations.AlterModelOptions(
            name='video',
            options={'verbose_name': 'Видео', 'verbose_name_plural': 'Видео'},
        ),
        migrations.RemoveField(
            model_name='phrase',
            name='description',
        ),
        migrations.RemoveField(
            model_name='phrase',
            name='title',
        ),
        migrations.RemoveField(
            model_name='word',
            name='description',
        ),
        migrations.RemoveField(
            model_name='word',
            name='title',
        ),
        migrations.AddField(
            model_name='phrase',
            name='content_original',
            field=models.CharField(default=0, max_length=250, unique=True, verbose_name='Фраза'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='word',
            name='content_original',
            field=models.CharField(default=0, max_length=100, unique=True, verbose_name='Слово'),
            preserve_default=False,
        ),
    ]
